/*
 * Copyright 2025 The JA-SIG Collaborative. All rights reserved.
 * distributed with this file and available online at
 */
package com.lap.auth.domain.role.repository;

import com.lap.auth.domain.role.valueobject.RoleDataScope;
import java.util.List;
import java.util.Optional;

/**
 * 仓储接口
 *
 * @author Shuisheng Lao(劳水生)
 * @version 0.0.1
 */
public interface RoleDataScopeRepository {

  void save(RoleDataScope roleDataScope);

  int deleteByRoleId(Integer roleId);

  Optional<RoleDataScope> findByRoleId(Integer roleId);

  List<RoleDataScope> findByRoleIds(List<Integer> roleIds);
}
